package com.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("article_like")
public class ArticleLike {
    
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    private Long articleId;     // 文章ID
    private Long userId;        // 用户ID
    private LocalDateTime createTime;  // 创建时间
} 